package pers.vicxu.mvcrestplus.service;


import pers.vicxu.mvcrestplus.pojo.Book;

import java.util.List;

/**
 * Create by Vic Xu on 7/25/2018
 *
 * @author Vic Xu
 */
public interface BookService {

    public List<Book> findAll();

    public Book addBook(Book book);

    public boolean deleteBook(String key);

    public Book updateBook(Book book);
}
